package naga.x.net;

import com.alibaba.fastjson.annotation.JSONField;

/**
 * 网络包
 * @author YangLi
 *
 */
public class Packet {

	@JSONField(serialize = false)
	protected short opCode; // 协议号
	
	public Packet() {}
	
	public Packet(short opCode) {
		this.opCode = opCode;
	}

	public short getOpCode() {
		return opCode;
	}

	public void setOpCode(short opCode) {
		this.opCode = opCode;
	}

}
